<script setup lang="ts">
import { onShow } from '@dcloudio/uni-app'
import { switchTabBarTheme, switchNavBarTheme } from '@/utils/common'

onShow(() => {
  switchTabBarTheme()
  switchNavBarTheme()
  // const status = getStatus()
  // if (status === Status.NOT_LOGIN) uni.navigateTo({url: '/pages/login/index'})
})
</script>

<template>
  <view>index</view>
</template>

<style scoped></style>
